package com.bestdreamer.formats;

public class JavaDemo02 {

    private static String otherStr = "Hello World";

    public static void changeStr(String str){
        str = "welcome";
        otherStr = "welcome";
    }

    public static void main(String[] args) {
        float t= 5.1f;
        int i = (int) t;
        String str = "1234";
        changeStr(str);
        System.out.println(str);
        System.out.println(otherStr);
    }

}
